/*Domain class of table m_prj_bug*/
package com.mycollab.module.project.domain;

import com.mycollab.core.arguments.ValuedBean;
import com.mycollab.db.metadata.Column;
import com.mycollab.db.metadata.Table;
import java.time.LocalDate;
import java.time.LocalDateTime;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.ibatis.type.Alias;
import org.hibernate.validator.constraints.Length;

@SuppressWarnings("ucd")
@Table("m_prj_bug")
@Alias("Bug")
class Bug extends ValuedBean {
    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column m_prj_bug.id
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    @Column("id")
    private Integer id;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column m_prj_bug.name
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    @NotEmpty
    @Length(max=4000, message="Field value is too long")
    @Column("name")
    private String name;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column m_prj_bug.assignUser
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    @Length(max=45, message="Field value is too long")
    @Column("assignUser")
    private String assignuser;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column m_prj_bug.createdTime
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    @Column("createdTime")
    private LocalDateTime createdtime;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column m_prj_bug.createdUser
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    @Length(max=45, message="Field value is too long")
    @Column("createdUser")
    private String createduser;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column m_prj_bug.severity
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    @Length(max=45, message="Field value is too long")
    @Column("severity")
    private String severity;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column m_prj_bug.priority
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    @NotEmpty
    @Length(max=45, message="Field value is too long")
    @Column("priority")
    private String priority;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column m_prj_bug.lastUpdatedTime
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    @Column("lastUpdatedTime")
    private LocalDateTime lastupdatedtime;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column m_prj_bug.status
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    @NotEmpty
    @Length(max=45, message="Field value is too long")
    @Column("status")
    private String status;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column m_prj_bug.dueDate
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    @Column("dueDate")
    private LocalDate duedate;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column m_prj_bug.environment
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    @Length(max=4000, message="Field value is too long")
    @Column("environment")
    private String environment;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column m_prj_bug.resolution
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    @Length(max=45, message="Field value is too long")
    @Column("resolution")
    private String resolution;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column m_prj_bug.projectId
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    @NotNull
    @Column("projectId")
    private Integer projectid;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column m_prj_bug.resolveddate
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    @Column("resolveddate")
    private LocalDateTime resolveddate;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column m_prj_bug.originalEstimate
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    @Column("originalEstimate")
    private Double originalestimate;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column m_prj_bug.remainEstimate
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    @Column("remainEstimate")
    private Double remainestimate;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column m_prj_bug.sAccountId
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    @NotNull
    @Column("sAccountId")
    private Integer saccountid;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column m_prj_bug.milestoneId
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    @Column("milestoneId")
    private Integer milestoneid;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column m_prj_bug.startDate
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    @Column("startDate")
    private LocalDate startdate;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column m_prj_bug.endDate
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    @Column("endDate")
    private LocalDate enddate;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column m_prj_bug.percentagecomplete
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    @Column("percentagecomplete")
    private Double percentagecomplete;

    private static final long serialVersionUID = 1;

    public final boolean equals(Object obj) {
        if (obj == null) { return false;}
        if (obj == this) { return true;}
        if (!obj.getClass().isAssignableFrom(getClass())) { return false;}
        Bug item = (Bug)obj;
        return new EqualsBuilder().append(id, item.id).build();
    }

    public final int hashCode() {
        return new HashCodeBuilder(531, 1761).append(id).build();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column m_prj_bug.id
     *
     * @return the value of m_prj_bug.id
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public Integer getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table m_prj_bug
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public Bug withId(Integer id) {
        this.setId(id);
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column m_prj_bug.id
     *
     * @param id the value for m_prj_bug.id
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column m_prj_bug.name
     *
     * @return the value of m_prj_bug.name
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public String getName() {
        return name;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table m_prj_bug
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public Bug withName(String name) {
        this.setName(name);
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column m_prj_bug.name
     *
     * @param name the value for m_prj_bug.name
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column m_prj_bug.assignUser
     *
     * @return the value of m_prj_bug.assignUser
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public String getAssignuser() {
        return assignuser;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table m_prj_bug
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public Bug withAssignuser(String assignuser) {
        this.setAssignuser(assignuser);
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column m_prj_bug.assignUser
     *
     * @param assignuser the value for m_prj_bug.assignUser
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public void setAssignuser(String assignuser) {
        this.assignuser = assignuser;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column m_prj_bug.createdTime
     *
     * @return the value of m_prj_bug.createdTime
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public LocalDateTime getCreatedtime() {
        return createdtime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table m_prj_bug
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public Bug withCreatedtime(LocalDateTime createdtime) {
        this.setCreatedtime(createdtime);
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column m_prj_bug.createdTime
     *
     * @param createdtime the value for m_prj_bug.createdTime
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public void setCreatedtime(LocalDateTime createdtime) {
        this.createdtime = createdtime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column m_prj_bug.createdUser
     *
     * @return the value of m_prj_bug.createdUser
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public String getCreateduser() {
        return createduser;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table m_prj_bug
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public Bug withCreateduser(String createduser) {
        this.setCreateduser(createduser);
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column m_prj_bug.createdUser
     *
     * @param createduser the value for m_prj_bug.createdUser
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public void setCreateduser(String createduser) {
        this.createduser = createduser;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column m_prj_bug.severity
     *
     * @return the value of m_prj_bug.severity
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public String getSeverity() {
        return severity;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table m_prj_bug
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public Bug withSeverity(String severity) {
        this.setSeverity(severity);
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column m_prj_bug.severity
     *
     * @param severity the value for m_prj_bug.severity
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public void setSeverity(String severity) {
        this.severity = severity;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column m_prj_bug.priority
     *
     * @return the value of m_prj_bug.priority
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public String getPriority() {
        return priority;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table m_prj_bug
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public Bug withPriority(String priority) {
        this.setPriority(priority);
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column m_prj_bug.priority
     *
     * @param priority the value for m_prj_bug.priority
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public void setPriority(String priority) {
        this.priority = priority;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column m_prj_bug.lastUpdatedTime
     *
     * @return the value of m_prj_bug.lastUpdatedTime
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public LocalDateTime getLastupdatedtime() {
        return lastupdatedtime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table m_prj_bug
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public Bug withLastupdatedtime(LocalDateTime lastupdatedtime) {
        this.setLastupdatedtime(lastupdatedtime);
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column m_prj_bug.lastUpdatedTime
     *
     * @param lastupdatedtime the value for m_prj_bug.lastUpdatedTime
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public void setLastupdatedtime(LocalDateTime lastupdatedtime) {
        this.lastupdatedtime = lastupdatedtime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column m_prj_bug.status
     *
     * @return the value of m_prj_bug.status
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public String getStatus() {
        return status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table m_prj_bug
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public Bug withStatus(String status) {
        this.setStatus(status);
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column m_prj_bug.status
     *
     * @param status the value for m_prj_bug.status
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public void setStatus(String status) {
        this.status = status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column m_prj_bug.dueDate
     *
     * @return the value of m_prj_bug.dueDate
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public LocalDate getDuedate() {
        return duedate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table m_prj_bug
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public Bug withDuedate(LocalDate duedate) {
        this.setDuedate(duedate);
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column m_prj_bug.dueDate
     *
     * @param duedate the value for m_prj_bug.dueDate
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public void setDuedate(LocalDate duedate) {
        this.duedate = duedate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column m_prj_bug.environment
     *
     * @return the value of m_prj_bug.environment
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public String getEnvironment() {
        return environment;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table m_prj_bug
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public Bug withEnvironment(String environment) {
        this.setEnvironment(environment);
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column m_prj_bug.environment
     *
     * @param environment the value for m_prj_bug.environment
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public void setEnvironment(String environment) {
        this.environment = environment;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column m_prj_bug.resolution
     *
     * @return the value of m_prj_bug.resolution
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public String getResolution() {
        return resolution;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table m_prj_bug
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public Bug withResolution(String resolution) {
        this.setResolution(resolution);
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column m_prj_bug.resolution
     *
     * @param resolution the value for m_prj_bug.resolution
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public void setResolution(String resolution) {
        this.resolution = resolution;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column m_prj_bug.projectId
     *
     * @return the value of m_prj_bug.projectId
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public Integer getProjectid() {
        return projectid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table m_prj_bug
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public Bug withProjectid(Integer projectid) {
        this.setProjectid(projectid);
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column m_prj_bug.projectId
     *
     * @param projectid the value for m_prj_bug.projectId
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public void setProjectid(Integer projectid) {
        this.projectid = projectid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column m_prj_bug.resolveddate
     *
     * @return the value of m_prj_bug.resolveddate
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public LocalDateTime getResolveddate() {
        return resolveddate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table m_prj_bug
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public Bug withResolveddate(LocalDateTime resolveddate) {
        this.setResolveddate(resolveddate);
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column m_prj_bug.resolveddate
     *
     * @param resolveddate the value for m_prj_bug.resolveddate
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public void setResolveddate(LocalDateTime resolveddate) {
        this.resolveddate = resolveddate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column m_prj_bug.originalEstimate
     *
     * @return the value of m_prj_bug.originalEstimate
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public Double getOriginalestimate() {
        return originalestimate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table m_prj_bug
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public Bug withOriginalestimate(Double originalestimate) {
        this.setOriginalestimate(originalestimate);
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column m_prj_bug.originalEstimate
     *
     * @param originalestimate the value for m_prj_bug.originalEstimate
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public void setOriginalestimate(Double originalestimate) {
        this.originalestimate = originalestimate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column m_prj_bug.remainEstimate
     *
     * @return the value of m_prj_bug.remainEstimate
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public Double getRemainestimate() {
        return remainestimate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table m_prj_bug
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public Bug withRemainestimate(Double remainestimate) {
        this.setRemainestimate(remainestimate);
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column m_prj_bug.remainEstimate
     *
     * @param remainestimate the value for m_prj_bug.remainEstimate
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public void setRemainestimate(Double remainestimate) {
        this.remainestimate = remainestimate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column m_prj_bug.sAccountId
     *
     * @return the value of m_prj_bug.sAccountId
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public Integer getSaccountid() {
        return saccountid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table m_prj_bug
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public Bug withSaccountid(Integer saccountid) {
        this.setSaccountid(saccountid);
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column m_prj_bug.sAccountId
     *
     * @param saccountid the value for m_prj_bug.sAccountId
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public void setSaccountid(Integer saccountid) {
        this.saccountid = saccountid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column m_prj_bug.milestoneId
     *
     * @return the value of m_prj_bug.milestoneId
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public Integer getMilestoneid() {
        return milestoneid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table m_prj_bug
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public Bug withMilestoneid(Integer milestoneid) {
        this.setMilestoneid(milestoneid);
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column m_prj_bug.milestoneId
     *
     * @param milestoneid the value for m_prj_bug.milestoneId
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public void setMilestoneid(Integer milestoneid) {
        this.milestoneid = milestoneid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column m_prj_bug.startDate
     *
     * @return the value of m_prj_bug.startDate
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public LocalDate getStartdate() {
        return startdate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table m_prj_bug
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public Bug withStartdate(LocalDate startdate) {
        this.setStartdate(startdate);
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column m_prj_bug.startDate
     *
     * @param startdate the value for m_prj_bug.startDate
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public void setStartdate(LocalDate startdate) {
        this.startdate = startdate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column m_prj_bug.endDate
     *
     * @return the value of m_prj_bug.endDate
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public LocalDate getEnddate() {
        return enddate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table m_prj_bug
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public Bug withEnddate(LocalDate enddate) {
        this.setEnddate(enddate);
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column m_prj_bug.endDate
     *
     * @param enddate the value for m_prj_bug.endDate
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public void setEnddate(LocalDate enddate) {
        this.enddate = enddate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column m_prj_bug.percentagecomplete
     *
     * @return the value of m_prj_bug.percentagecomplete
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public Double getPercentagecomplete() {
        return percentagecomplete;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table m_prj_bug
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public Bug withPercentagecomplete(Double percentagecomplete) {
        this.setPercentagecomplete(percentagecomplete);
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column m_prj_bug.percentagecomplete
     *
     * @param percentagecomplete the value for m_prj_bug.percentagecomplete
     *
     * @mbg.generated Sat Apr 20 17:20:23 CDT 2019
     */
    public void setPercentagecomplete(Double percentagecomplete) {
        this.percentagecomplete = percentagecomplete;
    }
}